package com.blackitheima2.test2;

public class TestInterImple {
    public static void main(String[] args) {
        System.out.println(Inter.NUM);
        //创建实现类的对象
        InterImple ia=new InterImple();
        ia.method();

    }
}

//实现类
class InterImple extends Object implements Inter{
    public void method(){
        System.out.println(NUM);
    }
    //构造方法
    public InterImple(){
        super();
    }

    @Override
    public void show() {

    }
}
